terraform fmt
Format configuration according to Terraform language style conventions. More information: https://www.terraform.io/docs/commands/fmt.html.
terraform fmt -recursive
terraform fmt -diff
terraform fmt -list=false